KM.DirectionalLight = function( name, color, direction )
{
    this._id = KM.DirectionalLight.directionalLightsIdCount++;
    this._name = name;
    this._color = color;
    this._direction = direction;
};

KM.DirectionalLight.directionalLightsIdCount = 0;

KM.DirectionalLight.prototype = {
    constructor: KM.DirectionalLight,
    
    toString: function()
    {
        return "DirectionalLight_" + this._id + "\n"
            + "\t name => " + this._name + "\n"
            + "\t color" + this._color + "\n"
            + "\t direction( " + this._direction[ 0 ] + ", " + this._direction[ 1 ] + ", " + this._direction[ 2 ] + " )";
    }
};
